import Vue from 'vue'
import App from './App.vue'
import router from './router'
Vue.config.productionTip = false
/*************VANT***************/
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);
/***********AXIOS************/
import axios from 'axios'
// wx_share
import wx_share from './utils/wx_share.js'
import  vant from "vant"
axios.defaults.baseURL = 'http://kf.laigl.com/api/';
// axios.defaults.baseURL = '/api/';//本地开发
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;';
axios.defaults.withCredentials = true;
Vue.prototype.$axios = axios;
// Vue.prototype.uploadurl = ''
/**********OPENID**************/
// localStorage.setItem('openid','oYaCz0nb4KdzAkg8X-4S-rIWZdO8')
/*************ECHARTS**************/
// import myCharts from './utils/myCharts.js'
// Vue.use(myCharts)
/**********SWIPER***********/
import VueAwesomeSwiper from 'vue-awesome-swiper'

// import style
// import 'swiper/css/swiper.css'
// If you use Swiper 6.0.0 or higher
import 'swiper/swiper-bundle.css' //siwper样式
Vue.use(VueAwesomeSwiper, /* { default options with global component } */).use(vant)
/***************公共组件****************/
import FooterComp from '@/components/footer' 
Vue.component('footer-comp', FooterComp)
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
